//
//  Person.swift
//  ParsingWithCodable
//
//  Created by liy on 2024/10/9.
//

import Foundation

struct Person: Codable {
	var name: String
	var sex: Int
	var age: Int
}
struct Fruit: Codable {
	var color: String
	var name: String
}
struct Favorites: Codable {
	var fruits: [Fruit]
}

struct MyDataModel: Codable {
	var person: Person
//	var favorites: [Fruit]
//	var favorites: Favorites
}
